import request from '@/utils/request'

// 查询商户详情
export function getMerchant(id) {
  return request({
    url: '/system/merchant/info/' + id,
    method: 'get'
  })
}

// 查询商户详情
export function queryInfo(query) {
  return request({
    url: '/system/merchant/queryInfo',
	method: 'get',
	params: query
  })
}

// 查询商户列表
export function listMerchant(query) {
  return request({
    url: '/system/merchant/list',
    method: 'get',
    params: query
  })
}


export function staticsDay(query) {
  return request({
    url: '/system/record/staticsDay',
    method: 'get',
    params: query
  })
}
export function merchantAmountTo(query) {
  return request({
    url: '/system/record/merchantAmountTo',
    method: 'get',
    params: query
  })
}